Skip to content

Release 4.3.2#9874

Merged
MatiPl01 merged 4 commits into
4.3-stablefrom
@matipl01/release/reanimated-4.3.2
Jul 4, 2026
Merged

Release 4.3.2#9874
MatiPl01 merged 4 commits into
4.3-stablefrom
@matipl01/release/reanimated-4.3.2

Conversation

@MatiPl01

@MatiPl01 MatiPl01 commented Jul 3, 2026

Copy link
Copy Markdown
Member

Summary

Reanimated 4.3.2 patch release. Includes all fixes from the cherry-pick thread #9596.

@MatiPl01 MatiPl01 self-assigned this Jul 3, 2026
During a positive `animationDelay` with `animationFillMode: backwards`,
`CSSAnimationsRegistry::applyViewAnimationsStyle` computed the backwards
fill but wrote it only to `updatesRegistry_`, not to the per-frame delta
batch. The registry is committed to the tree only on a React-source commit
(via the commit hook), so during a pure delay window with no re-render the
fill was never painted and the view kept its base style - e.g. a width-less
flex child stretched to full width instead of showing the from-keyframe 0.

Enqueue the computed fill into the delta batch as well (as the running
update path and CSS transitions already do), so the CSS loop commits it
without needing a React commit.

4.4/4.5 fixed this as part of the larger OperationsLoop rewrite (#9248),
which is impractical to backport to 4.3 wholesale; this is the minimal port.
@MatiPl01

MatiPl01 commented Jul 4, 2026

Copy link
Copy Markdown
Member Author

Also included a fix for CSS animationFillMode: backwards with a positive animationDelay that I ran into while testing 4.3.2. The from keyframe wasn't shown during the delay window (in the Animation Settings > Delay example the bars sat at full width instead of 0).

CSSAnimationsRegistry::applyViewAnimationsStyle writes the backwards fill only to updatesRegistry_, not to the per-frame batch, so it's committed only on a React commit and never shows during a plain delay. The fix enqueues it into the batch as well, the same way the running path and CSS transitions do.

It's not a 4.3.2 regression, it's been broken since 4.3.0. 4.4/4.5 fixed it as part of the OperationsLoop rewrite (#9248), which is too large to backport, so this is the minimal port.

@MatiPl01 MatiPl01 marked this pull request as ready for review July 4, 2026 06:58
MatiPl01 added 2 commits July 4, 2026 08:59
Removed comments explaining the commit behavior of the registry during animation delays.
@MatiPl01 MatiPl01 requested a review from tomekzaw July 4, 2026 07:44
@MatiPl01 MatiPl01 merged commit 3640767 into 4.3-stable Jul 4, 2026
27 checks passed
@MatiPl01 MatiPl01 deleted the @matipl01/release/reanimated-4.3.2 branch July 4, 2026 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants